MSVC Introspection Builds: Filter Out gtkx.h
authorChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 16 Jul 2014 10:04:38 +0000 (18:04 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 16 Jul 2014 10:04:38 +0000 (18:04 +0800)
Like the autotools builds of the introspection files, don't include gtkx.h
in the introspection prepropcessing as it should not be included by other
GTK+ headers.

build/gen-file-list-gtk.py

index f39944a08226baa193434f91422c40216d9abc3e..3389e0505038a6bc09f18bb312dd124982ca0e9b 100644 (file)
@@ -63,7 +63,11 @@ def gen_gtk_filelist(srcroot, subdir, dest):
                        vars['gtk_clipboard_dnd_c_sources'].split() + \
             vars['gtk_other_src'].split()
 
-    sources = [i for i in files if not (i.endswith('private.h')) and i != 'gtktextdisplay.h' and i != 'gtktextlayout.h']
+    sources = [i for i in files \
+               if not (i.endswith('private.h')) \
+               and i != 'gtktextdisplay.h' \
+               and i != 'gtktextlayout.h' \
+               and i != 'gtkx.h']
 
     with open(dest, 'w') as d:
         for i in sources: